<?php if(!defined('IN_PISCES')){exit('Access Denied.');}?>
<script src="{$this->data['baseurl']}js/imagescroll.js"></script>
<div class="direct"> <span id="direct_con" class="fl">您现在的位置：<a href="{$this->data['baseurl']}">{$this->data['site']['site_name']}首页</a>&gt;{if $this->data['seo']['title']!=''}{$this->data['seo']['title']}{/if}</span></div>
{if !empty($this->data['adList']) && !empty($this->data['adList'][27])}
<!--{loop $this->data['adList'][27] $mk $item}-->
<div class="adbox mb5">
{$item['code']}
</div>
<!--{/loop}-->
{/if}
<div class="content_wrap">
{if $this->data['moduleList']}
<div class="clear"></div>
<!--{loop $this->data['moduleList'] $module}-->
{if $module['info']['mode']==0}
{ProductList($module['info']['con'],array('pic_url,num_iid,title,price'),$module['info']['updateperiod']*3600,'site_index')}
	{if !empty($pvProductList)}
<div class="mt15" id="m1box">
  <div class="hd">
    <div class="contitle relative clearfix">
      <h2 class="fl">{$module['info']['name']}</h2>
      <ul class="subnav fr">
       {if $module['info']['otherkeyword']}
<!--{loop $module['info']['otherkeyword'] $key $keyword}-->
<li><a target="_blank" href="{url('Default','List',array('c'=>$module['info']['con']['cid'],'k'=>$keyword))}">{$keyword}</a></li>
<!--{/loop}-->
			{/if}
           {if $module['info']['link']!=''}<li><a href="{$module['info']['link']}" title="更多的{$module['info']['name']}" target="_blank">查看更多</a></li>{/if}
      </ul>
    </div>
  </div>
  {if !empty($this->data['adList']) && !empty($this->data['adList'][25])}
  <div class="clear"></div>
		<!--{loop $this->data['adList'][25] $mk $item}-->
		<div class="adbox mb5">
		{$item['code']}
		</div>
		<!--{/loop}-->
        <div class="clear"></div>
		{/if}
  <div class="bd">
    <div class="boxlist clearfix pt15 pl5"> 
      <ul class="itemlist">
      <!--{loop $pvProductList $mk $item}-->
        <li><a title="{strip_tags($item['title'])}" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank"><img alt="{strip_tags($item['title'])}" src="{$this->data['baseurl']}images/loading.gif" u="{EncodeImg $item['pic_url']}_b.{$this->data['cf']->getFileExt($item['pic_url'])}"><span class="m1box-status hot"></span><span class="title block">{strip_tags($item['title'])}</span><span class="block price">￥{strip_tags($item['price'])}</span></a></li>
        <!--{/loop}-->
      </ul>
    </div>
  </div>
</div>
{/if}
{/if}
<!--{/loop}-->
{/if}
</div>
{if !empty($this->data['adList']) && !empty($this->data['adList'][26])}
  <div class="clear"></div>
		<!--{loop $this->data['adList'][26] $mk $item}-->
		<div class="adbox mb5">
		{$item['code']}
		</div>
		<!--{/loop}-->
{/if}
<div class="clear"></div>
<div class="top_part day_follow">
  <div class="hd">
    <h3>每日<strong>关注</strong>商品</h3>
    <i class="icon_line"></i> </div>
  <div class="bd"> 
    <div class="tab_cont"> 
      <ul id="attention_good" class="tab_item" style="visibility: visible;">
      	{HotView(10,array('num_iid','title','pic_url','price'),3600)}
		{if !empty($pvRecentViewList)}
		<!--{loop $pvRecentViewList $k $item}-->
        {if $k==0}
        <li class="on"> <span class="order order_{$k+1}">{$k+1}</span> <a class="img_wrap" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank" title="{$item['title']}"><img src="{$this->data['baseurl']}images/loading.gif" u="{EncodeImg $item['pic_url']}_b.{$this->data['cf']->getFileExt($item['pic_url'])}"></a>
          <div class="img_detail">
            <div class="name_wrap"> <a class="name" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank">{$item['title']}</a></div>
            <p class="price"><span class="shop_price">¥{$item['price']}</span></p>
            <p style="visibility:hidden;" class="grade_wrap"><i class="grade_bg"><i style="width:80%" class="grade">&nbsp;</i></i> </p>
            <p class="btn_wrap"><a class="btn" linktype="click-url" href="#" nid="{$item['num_iid']}"  target="_blank">立即购买</a></p>
          </div>
        </li>
        {else}
        <li > <span class="order order_{$k+1}">{$k+1}</span> 
        <div class="img_detail">
            <div class="name_wrap"> <a class="name" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank">{$item['title']}</a><span class="amount"><span class="co_red"><a class="btn" linktype="click-url" href="#" nid="{$item['num_iid']}"  target="_blank">去购买</a></span></span></div>
          </div>
        </li>
        {/if}
       <!--{/loop}-->
		{/if}
      </ul>
    </div>
  </div>
</div>
<div class="top_part day_follow">
  <div class="hd">
    <h3>每日<strong>热门</strong>商品</h3>
    <i class="icon_line"></i> </div>
  <div class="bd"> 
    <div  class="tab_cont"> 
      <ul  class="tab_item" style="visibility: visible;">
      	{RecentClick(10,array('num_iid','title','pic_url','price'),3600)}
		{if !empty($pvRecentViewList)}
		<!--{loop $pvRecentViewList $k $item}-->
        {if $k==0}
        <li class="on"> <span class="order order_{$k+1}">{$k+1}</span> <a class="img_wrap" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank" title="{$item['title']}"><img src="{$this->data['baseurl']}images/loading.gif" u="{EncodeImg $item['pic_url']}_b.{$this->data['cf']->getFileExt($item['pic_url'])}"></a>
          <div class="img_detail">
            <div class="name_wrap"> <a class="name" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank">{$item['title']}</a></div>
            <p class="price"><span class="shop_price">¥{$item['price']}</span></p>
            <p style="visibility:hidden;" class="grade_wrap"><i class="grade_bg"><i style="width:80%" class="grade">&nbsp;</i></i> </p>
            <p class="btn_wrap"><a class="btn" linktype="click-url" href="#" nid="{$item['num_iid']}"  target="_blank">立即购买</a></p>
          </div>
        </li>
        {else}
        <li > <span class="order order_{$k+1}">{$k+1}</span> 
        <div class="img_detail">
            <div class="name_wrap"> <a class="name" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}" target="_blank">{$item['title']}</a><span class="amount"><span class="co_red"><a class="btn" linktype="click-url" href="#" nid="{$item['num_iid']}"  target="_blank">去购买</a></span></span></div>
          </div>
        </li>
        {/if}
       <!--{/loop}-->
		{/if}
      </ul>
    </div>
  </div>
</div>
<div class="clear"></div>
{if !empty($this->data['adList']) && !empty($this->data['adList'][28])}
<!--{loop $this->data['adList'][28] $mk $item}-->
<div class="adbox{if $mk>0} mt5{/if}">
{$item['code']}
</div>
<!--{/loop}-->
<div class="clear"></div>
{/if}
<script language="javascript">
var defaultClickUrl	= "{$this->data['clickUrl']}";
replaceLink();
replaceImage();
</script>